package com.example.demo.model;

import java.io.Serializable;

public class area implements Serializable {

    private Integer id;

    private Integer pid;

    private Integer deep;

    private String name;

    public area(Integer id, Integer pid, Integer deep, String name) {
        this.id = id;
        this.pid = pid;
        this.deep = deep;
        this.name = name;
    }
    public area(){}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getDeep() {
        return deep;
    }

    public void setDeep(Integer deep) {
        this.deep = deep;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "area{" +
                "id=" + id +
                ", pid=" + pid +
                ", deep=" + deep +
                ", name='" + name + '\'' +
                '}';
    }
}
